.cart-header {
    padding-left: 20px;
    padding-right: 20px;
    height: 88px;
    background-color: #ff8f00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .back {
        width: 26px;
        height: 45px;
        background: url('../img/icon-back.png');
        background-size: 26px, 45px;
    }
    h2 {
        font-size: 40px;
        color: #fff;
    }
    .edit {
        font-size: 32px;
        color: #fff;
    }
}

.cart-main {
    background-color: #e6e6e6;
    overflow: hidden;
    min-height: 1200px;
    .check {
        padding-left: 20px;
        padding-right: 20px;
        height: 50px;
        overflow: hidden;
        line-height: 50px;
        .checkbox+i {
            float: left;
            margin-right: 20px;
            margin-top: 13px;
        }
        .checkbox {
            display: none;
            appearance: none;
            &+i {
                display: block;
                width: 22px;
                height: 22px;
                border: 1px solid #3f3f3f;
                border-radius: 3px;
            }
            &:checked+i {
                background: url('../img//icon-checked.png');
                background-repeat: no-repeat;
                background-size: 19px, 13px;
                background-position: 2px 6px;
            }
        }
    }
    .shop-list {
        overflow: hidden;
        .list {
            padding: 20px;
            background-color: #fff;
            overflow: hidden;
            display: flex;
            justify-content: space-between;
            align-items: top;
            margin-bottom: 20px;
            .checkbox {
                display: none;
                appearance: none;
                &+i {
                    display: block;
                    width: 22px;
                    height: 22px;
                    border: 1px solid #3f3f3f;
                    border-radius: 3px;
                }
                &:checked+i {
                    background: url('../img//icon-checked.png');
                    background-repeat: no-repeat;
                    background-size: 19px, 13px;
                    background-position: 2px 6px;
                }
            }
            img {
                width: 198px;
                height: 198px;
                margin-right: 20px;
                border: 1px solid #e5e5e5;
            }
            .desc {
                width: 425px;
                display: flex;
                justify-content: space-between;
                flex-direction: column;
                .title {
                    font-size: 36px;
                    color: #3f3f3f;
                    line-height: 40px;
                    height: 100px;
                }
                .spec-box {
                    overflow: hidden;
                    .spec {
                        float: left;
                        font-size: 24px;
                        color: #3f3f3f;
                        line-height: 40px;
                        span {
                            margin-right: 10px;
                        }
                    }
                    .num-wrap {
                        float: right;
                        width: 140px;
                        height: 38px;
                        position: relative;
                        border: 1px solid #b7b7b7;
                        input {
                            width: 60px;
                            height: 38px;
                            float: left;
                            border: none;
                            outline: none;
                            text-align: center;
                            line-height: 36px;
                            background-color: transparent;
                        }
                        .reduce,
                        .add {
                            width: 38px;
                            height: 38px;
                            background: url('../img/icon-calculate.png');
                            background-repeat: no-repeat;
                            background-size: 38px, 76px;
                        }
                        .reduce {
                            float: left;
                            border-right: 1px solid #b7b7b7;
                            background-position: 0 -42px;
                        }
                        .add {
                            float: right;
                            position: absolute;
                            border-left: 1px solid #b7b7b7;
                            background-position: 0 1px;
                            top: 0;
                            right: 0;
                        }
                    }
                }
                .price-box {
                    overflow: hidden;
                    .price {
                        float: left;
                        font-size: 26px;
                        color: #f20d0d;
                    }
                    .free {
                        float: right;
                        font-size: 24px;
                        color: #3f3f3f;
                    }
                }
            }
        }
    }
}

.cart-paybar {
    position: fixed;
    bottom: 98px;
    left: 0;
    height: 80px;
    width: 750px;
    background-color: #fff;
    .left {
        width: 522px;
        padding-left: 20px;
        padding-right: 20px;
        float: left;
        label {
            line-height: 80px;
            .checkbox+i {
                float: left;
                ;
                margin-right: 20px;
                margin-top: 27px;
            }
            .checkbox {
                display: none;
                appearance: none;
                &+i {
                    display: block;
                    width: 22px;
                    height: 22px;
                    border: 1px solid #3f3f3f;
                    border-radius: 3px;
                }
                &:checked+i {
                    background: url('../img//icon-checked.png');
                    background-repeat: no-repeat;
                    background-size: 19px, 13px;
                    background-position: 2px 6px;
                }
            }
        }
        .total-wrap {
            float: right;
            text-align: right;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            height: 80px;
            .total {
                font-size: 30px;
                .money {
                    color: #f20d0d;
                }
            }
            .fare{
                font-size: 24px;
            }
        }
    }
    .pay {
        width: 188px;
        background-color: #f20d0d;
        height: 80px;
        text-align: center;
        line-height: 80px;
        float: right;
        color: #fff;
        font-size: 44px;
    }
}
.cart-menubar{
    height: 98px;
    width: 750px;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #ff8f00;
    display: flex;
    .list {
        width: 20%;
        float: left;
        text-align: center;
        color: #fff;
        &.on{
            background-color: #eab826;
        }
        i{
            font-size: 24px;
            color: #fff;
        }
        .icon {
            width: 60px;
            height: 60px;
            display: block;
            margin: 0 auto;
            background-size: 60px,60px;
            background-repeat:no-repeat; 
            &.icon-home {
                background-image: url('../img/icon-home.png');
            }
            &.icon-type {
                background-image: url('../img/icon-type.png');
            }
            &.icon-shop {
                background-image: url('../img/icon-shop.png');
            }
            &.icon-order {
                background-image: url('../img/icon-order.png');
            }
            &.icon-user {
                background-image: url('../img/icon-user.png');
            }
        }
    }
}